﻿<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
  <!ENTITY nbsp "&#x00A0;">
]>
<xsl:stylesheet version="1.0"
				xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
				xmlns:asp="http://schemas.microsoft.com/AspNet/WebControls"
        xmlns:lsc="urn:landscape-xsl"
        xmlns:lsc.ext="urn:landscape"
        exclude-result-prefixes="xsl asp lsc lsc.ext">

  <xsl:template match="/" lsc:wrapper="Wrappers/NestedTemplatesLayoutWithParameters">
      <h1>Landscape Presentation Framework - Nested templates with parameters</h1>
      <p>It is possible to define xslt parameters used to render the parent template.</p>
      <p>Setting wrapperParam1 as 'foo'...</p>
      <lsc:param name="wrapperParam1">foo</lsc:param>
      <p>Setting wrapperParam2 as 'bar'...</p>
      <lsc:param name="wrapperParam2">bar</lsc:param>
      <p>Setting wrapperParam3 as html</p>
      <lsc:param name="wrapperParam3">
        <h5>Htmlcode</h5>
        <p>This is html code passed by child</p>
      </lsc:param>
  </xsl:template>

</xsl:stylesheet>